package com.company;

import java.io.*;

/**
 * Created by asus on 2017/8/25.
 */
public class MemoryInput {
    public static void main (String[] args) throws IOException{
        StringReader in = new StringReader(BufferedInputFile.read("D:\\test.txt"));
        int c;
        while((c = in.read()) != -1){
            System.out.println((char)c);
        }
    }
}
